{extend name="$admin_layout" /}
{block name="content"}
<div class="row">
    <div class="col-md-12">
        <div class="box nav-tabs-custom">
            <div class="box-body">
                <div class="box-header with-border">
                    <h5 class="box-title" style="font-size: 14px;">物流信息</h5>
                </div>               
               
				<table class="table table-builder table-hover table-bordered table-striped mb10">
					<tr>
						<td>
						<b>收件地址</b>
						</td>
						<td>
						  {$order_refund.receiver_name}
						  {$order_refund.receiver_mobile}
						  {$order_refund.receiver_address}							
						</td>
					</tr>
					<tr>
						<td>
						  <b>备注信息</b>
						</td>
						<td>								
						  {$order_refund.receiver_remark}
						</td>
					</tr>
					<tr>
						<td><b>物流公司</b></td><td>{$order_refund.express_company}</td>
					</tr>
					<tr>
						<td><b>物流单号</b></td><td>{$order_refund.express_no ?: "未发货"}</td>
					</tr>
					{eq name="$order_refund.status" value="1"}
					 <tr>
						<td><b>操作</b></td>
						<td>	
						{empty name="$Request.param.layer"}
						<a class="btn btn-primary ajax-get confirm" href="{:url('refund_change_status',['val'=>2,'rfid'=>$order_refund.id])}" >确认收货</a>
						{else /}
						<a class="btn btn-primary ajax-get confirm close-pop" href="{:url('refund_change_status',['val'=>2,'rfid'=>$order_refund.id,'pop'=>1])}" >确认收货</a>
						{/empty}
					   <div style="color:red">请待收到退货后，再点击确认收货</div>
						</td>
					 </tr>
					{/eq}
					<tr>
						<td><b>包裹信息</b></td>
						<td>
						{foreach name="ex['Traces']" item="v"}
						<p><b style="font-size:15px">{$v.AcceptTime}</b></p>
						<p style="white-space:pre-wrap;">{$v.AcceptStation}</p>
						{/foreach}
						</td>
					</tr>	
					</tbody>
				</table>
            </div>

        </div>
    </div>
</div>
{/block}
